﻿using AutoMapper;
using WMS_Goodsinfo.Api.Write.Application.Command.商品;
using WMS_Goodsinfo.Domain;

namespace WMS_Goodsinfo.Api.Write
{
    public class AutoMapperprofile:Profile
    {
        public AutoMapperprofile()
        {
            //商品添加
            CreateMap<CreateProductCommand, Product_Table>();
            //添加出入库
            CreateMap<CreateInoutCommand, InOut>();
            //添加仓库
            CreateMap<CreateWarehouseCommand, Warehouse>();
        }
    }
}
